const Router = require("koa-router");
const router = new Router();
const Mysql_booksheif = require("../../sql/mysql_booksheif");

const address = new Mysql_booksheif("address");

router.post("/address/list", async (ctx) => {
  const result = await address.fetchAll();
  ctx.body = {
    result,
  };
});

module.exports = router;
